package com.clkj.nangang.mvp.index.communityservice;


import com.clkj.nangang.mvp.base.BasePresenter;
import com.clkj.nangang.mvp.base.BaseView;
import com.clkj.nangang.mvp.model.NewsModel;

import java.util.List;

/**
 * Created by Administrator on 2017/3/1.
 */

public class CommunityContract {

    public interface View extends BaseView<Presenter> {

        void onNetError(String tip);

        void getCommunityListsSuccess(List<NewsModel> newsModels);

        void getCommunityListsFail(String tip);
    }

    public interface Presenter extends BasePresenter {

        //获取小区或者组
        void getCommunityLists(String categoryName, String page);

    }

}
